package com.chalet16.fightflood;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;

public class AboutDialog extends Dialog implements OnClickListener {
	public AboutDialog(Context context) {
		super(context);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.about);
		((Button)findViewById(R.id.okButton)).setOnClickListener(this);
	}

	public void onClick(View v) {
		dismiss();
	}
}
